package com.shimao.celnet.payment.model;

import org.hibernate.validator.constraints.NotEmpty;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;

@Table(name = "b_province")
public class BProvince  extends BaseModel implements Serializable {

    /**
     * sf省份guid
     */
    @NotEmpty(message = "不能为空")
    private String sfGuid;

    /**
     * 省份名
     */
    @NotEmpty(message = "不能为空")
    @Column(name = "province_name")
    private String provinceName;



    /**
     * 获取sf省份guid
     *
     * @return sf_guid - sf省份guid
     */
    public String getSfGuid() {
        return sfGuid;
    }

    /**
     * 设置sf省份guid
     *
     * @param sfGuid sf省份guid
     */
    public void setSfGuid(String sfGuid) {
        this.sfGuid = sfGuid;
    }

    /**
     * 获取省份名
     *
     * @return province_name - 省份名
     */
    public String getProvinceName() {
        return provinceName;
    }

    /**
     * 设置省份名
     *
     * @param provinceName 省份名
     */
    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }
}